﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace B2BServer
{
    /// <summary>
    /// Class for global functions
    /// </summary>
    public class GlobalFunctions
    {
        public static void ShowHelp(string text)
        {
            System.Windows.Forms.MessageBox.Show(text, "Help", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
        }

        public static void SaveSettings()
        {
            Properties.Settings.Default.Save();
        }

        public static void ResetSettings()
        {
            Properties.Settings.Default.Reset();
        }

        public static void ReloadSettings()
        {
            Properties.Settings.Default.Reload();
        }

        
    }
}
